package cate.common.table.item.awakenfairy.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.awakenfairy.row.AwakenFairyPosRow;

public class AwakenFairyPosSheet extends ESheet<AwakenFairyPosRow> {
    @Override
    public String getSheetName() {
        return "灵器栏位";
    }

    public AwakenFairyPosRow getRowByPos(byte pos) {
        for (AwakenFairyPosRow row : this.getList()) {
            if (row.id == pos) {
                return row;
            }
        }
        return null;
    }
}
